var IsStartButton =false; //start new non-timed game
var IsStartButtonE = false; //start new timed game
var IsQuitButton =false; //quit the application
var IsExitButton =false; //exit to the main menu

/*
var IsCleanButton =false; //Button to reset all fruit count
var IsBakeButton =false; //Button to submit fruit count

var IsSubButtonApples =false;
var IsSubButtonStrawB =false;
var IsSubButtonBlackB =false;
var IsSubButtonBlueB =false;
var IsSubButtonLemons =false;
var IsSubButtonPeaches =false;
*/




function OnMouseEnter()
{
	renderer.material.color = Color.green;
	
}

function OnMouseExit()
{
	renderer.material.color = Color.white;
}

function OnMouseDown()
{
	renderer.material.color = Color.red;
}

function OnMouseUp()
{
	if(IsQuitButton)
		{
			Application.Quit();
		}
	
		else if(IsStartButton)
		{
			Application.LoadLevel(1);
		}
	
		else if (IsStartButtonE)
		{
			Application.LoadLevel(2);
		}
	
		else if(IsExitButton)
		{
			Application.LoadLevel(0);
		}
	
		/* Buttons for subtracting, resetting and submitting fruit
	
		else if(IsSubButtonApples)
		{
			//subtract one(1) Apple from Apples Count
		}
	
		else if(IsSubButtonBlackB)
		{
			//subtract one(1) Blackberry from BlackB Count
		}
	
		else if(IsSubButtonBlueB)
		{
			//subtract one(1) Blueberry from BlueB Count
		}
	
		else if(IsSubButtonPeaches)
		{
			//subtract one(1) Peach from Peaches Count
		}
	
		else if(IsSubButtonStrawB)
		{
			//subtract one(1) Strawberry from StrawB Count
		}
	
		else if(IsSubButtonLemons)
		{
			//subtract one(1) Lemon from the Lemons Count
		}
	
		else if(IsCleanButton)
		{
			//Reset all fruit count
		}
	
		else if(IsBakeButton)
		{
			//Submit held fruit for baking
		}
		
		*/
	
	
}